bitkeeper revision 1.1713.1.8 (42aed659DzIwFCeaK8Cxa8ZpzbHR-Q)
authorarun.sharma@intel.com[kaf24] <arun.sharma@intel.com[kaf24]>
Tue, 14 Jun 2005 13:06:33 +0000 (13:06 +0000)
committerarun.sharma@intel.com[kaf24] <arun.sharma@intel.com[kaf24]>
Tue, 14 Jun 2005 13:06:33 +0000 (13:06 +0000)
[PATCH] 64-session-id.patch

session_id is an opaque pointer, so should be wider on 64 bit platforms.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
tools/python/xen/lowlevel/xu/xu.c
tools/xcs/xcs_proto.h

index 65660ba6dc6caa126cf7c5dc25187bb4cbcb0576..cd616e75bc492ab7440c469676008d50af4477a8 100644 (file)
@@ -72,7 +72,7 @@ static void set_cloexec(int fd)
 
 static int xcs_ctrl_fd = -1; /* control connection to the xcs server. */
 static int xcs_data_fd = -1; /*    data connection to the xcs server. */
-static u32 xcs_session_id = 0;
+static unsigned long  xcs_session_id = 0;
 
 static int xcs_ctrl_send(xcs_msg_t *msg);
 static int xcs_ctrl_read(xcs_msg_t *msg);
index fa04621f4048b51b22ca2b5abd92b9b44affacb9..7038467c909c6f3732031f2b3b44464816f17419 100644 (file)
@@ -40,7 +40,7 @@
 #define TYPE_VIRQ      0xfffe
 
 typedef struct {
-    u32 session_id;
+    unsigned long  session_id;
 } xcs_connect_msg_t;
 
 typedef struct {